// 登录页
.mylogin {
    .title {
        text-align: center;
        font-size: 30px;
        font-weight: bold;
        padding: 50px 0;
    }
    .login {
        text-align: center;
        padding: 10px;
        .line {
            margin: 20px 0;
            input {
                width: 80%;
                height: 50px;
                border-radius: 10px;
                box-sizing: border-box;
                outline: none;
                border: 1px solid #ccc;
                padding: 10px;
            }
            button {
                height: 50px;
                width: 100px;
                border-radius: 10px;
                outline: none;
                border: 1px solid #ccc;
            }
            a {
                color: black;
            }
        }
    }
}

// 注册页
.myregister {
    .title {
        text-align: center;
        font-size: 30px;
        font-weight: bold;
        padding: 50px 0;
    }
    .register {
        text-align: center;
        padding: 10px;
        .line {
            margin: 20px 0;
            input {
                width: 80%;
                height: 50px;
                border-radius: 10px;
                box-sizing: border-box;
                outline: none;
                border: 1px solid #ccc;
                padding: 10px;
            }
            button {
                height: 50px;
                width: 100px;
                border-radius: 10px;
                outline: none;
                border: 1px solid #ccc;
            }
        }
    }
}

// 首页
.myheader {
    padding: 10px;
    background-color: red;
    display: flex;
    justify-content: space-around;
    align-items: center;
    input {
        width: 280px;
        height: 30px;
        border: 1px solid #ccc;
        border-radius: 10px;
        outline: none;
    }
    span {
        color: white;
    }
}

.myswipe {
    height: 170px;
    img {
        height: 100%;
        width: 100%;
    }
}

.myentry {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    .mycate {
        width: 20%;
        margin: 10px 0;
        img {
            width: 80%;
        }
    }
}

.myseckilll {
    padding: 10px;
    margin-bottom: 100px;
    display: flex;
    // justify-content: space-around;
    flex-wrap: wrap;
    .kill {
        width: 33%;
        text-align: center;
        img {
            width: 100%;
        }
        .killname {
            font-size: 14px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .price {
            margin: 10px 0;
            font-size: 12px;
            color: red;
            font-weight: bold;
        }
    }
}

// 分类列表页
.cate {
    display: flex;
    .header {
        position: fixed;
        padding: 10px;
        width: 100%;
        background-color: white;
        input {
            width: 100%;
            height: 30px;
            background-color: #ccc;
            border: none;
            border-radius: 10px;
            padding: 0 10px;
        }
    }
    .tableft {
        padding: 50px 0;
        width: 100px;
        background-color: #ccc;
        font-size: 16px;
        line-height: 50px;
        text-align: center;
        .active {
            background-color: white;
            color: red;
            font-weight: bold;
        }
    }
    .tabright {
        padding: 50px 10px;
        flex: 1;
        h3 {
            margin: 10px 0;
        }
        .list {
            display: flex;
            flex-wrap: wrap;
            .subcate {
                width: 33%;
                text-align: center;
                img {
                    width: 100%;
                }
            }
        }
    }
}

// 404
.notfound {
    margin-top: 100px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

// 全部商品
.mygoods {
    margin-bottom: 100px;
    .header {
        padding: 10px;
        input {
            width: 100%;
            height: 30px;
            background-color: #ccc;
            border: none;
            border-radius: 10px;
            padding: 0 10px;
        }
    }
    .choose {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    .list {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        .alist {
            width: 48%;
            height: 200px;
            text-align: center;
            img {
                height: 100px;
            }
            .name {
                font-weight: bold;
            }
            .price {
                margin-top: 10px;
                color: red;
            }
        }
    }
}

// 购物车
.mycart {
    padding: 10px;
    .acart {
        margin: 10px 0;
        display: flex;
        justify-content: space-between;
        .adm-space {
            justify-content: space-around;
        }
        img {
            height: 100px;
            margin-right: 20px;
        }
        .name {
            flex: 1;
        }
        .cartname {
            font-size: 18px;
        }
        .price {
            display: flex;
            justify-content: space-between;
            margin-top: 50px;
            font-size: 18px;
            button {
                border: none;
                width: 20px;
                border-radius: 10px;
                ;
            }
            span {
                padding: 0 5px;
            }
        }
    }
    .totol{
      padding: 10px;
      width: 100%;
      height: 60px;
      position: fixed;
      bottom: 70px;
      display: flex;
      justify-content: space-between;
      .adm-space{
        justify-content: space-around;
      }
      .totols{
        background-color: white;
        display: flex;
        align-items: center;
        button{
          width: 100px;
          height: 50px;
          background-color: red;
          border: none;
          outline: none;
          color: white;
          border-radius: 25px;
          margin: 0 15px;
        }
      }
    }
}

// tabber
.tabber {
    background-color: white;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    border-top: 1px solid #ccc;
    width: 100%;
}

// loading
.com_loading {
    width: 100%;
}

.good {
    img {
        width: 100%;
    }
    .buy {
        border-top: 1px solid #ccc;
        padding: 10px;
        position: fixed;
        bottom: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        .adm-space {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        p {
            font-size: 14px;
        }
        .btn {
            button {
                width: 90px;
                height: 40px;
                border: none;
                color: white;
            }
            .btnleft {
                background-color: orange;
                border-radius: 20px 0 0 20px;
            }
            .btnright {
                background-color: red;
                border-radius: 0 20px 20px 0;
            }
        }
    }
}

// 个人中心
.mine {
    .mineheader {
        height: 170px;
        // background: url(./assets/background.jpg) center ;
        img {
            width: 15%;
            border: 1px solid black;
            border-radius: 50%;
            margin-top: 75px;
            margin-left: 30px;
        }
    }
    .mymain {
        display: flex;
        background-color: #ccc;
        flex-direction: column;
        margin-bottom: 50px;
        .center {
            background-color: white;
            display: flex;
            justify-content: space-between;
            height: 80px;
            width: 95%;
            margin: 20px auto;
            border-radius: 10px;
            div {
                margin-top: 20px;
                text-align: center;
                width: 30%;
                display: flex;
                flex-direction: column;
                font-size: 17px;
                font-weight: 900;
                span {
                    color: black;
                }
            }
        }
        .myorder {
            background-color: white;
            width: 95%;
            margin: 0 auto;
            border-radius: 10px;
            .title {
                width: 95%;
                display: flex;
                justify-content: space-between;
                margin: 0 auto;
                .order {
                    font-size: 20px;
                    font-weight: 900;
                }
            }
            .deal {
                margin-top: 20px;
                display: flex;
                justify-content: space-around;
                div {
                    text-align: center;
                    width: 30%;
                    display: flex;
                    flex-direction: column;
                    font-size: 17px;
                    font-weight: 900;
                    span {
                        margin-bottom: 5px;
                    }
                    .antd-mobile-icon {
                        font-size: 30px;
                    }
                }
            }
        }
        .member {
            background-color: white;
            width: 95%;
            margin: 10px auto;
            border-radius: 10px;
        }
        .function {
            margin-top: 20px;
            background-color: white;
            width: 95%;
            margin: 10px auto;
            border-radius: 10px;
        }
    }
}

//收藏列表
.collect {
    .adm-nav-bar-title {
        font-weight: 900;
    }
    .goods {
        background-color: #ccc;
        padding: 10px 0;
    }
    .good {
        background-color: white;
        margin: 10px;
        display: flex;
        .img-box {
            width: 120px;
            height: 120px;
            background-color: skyblue;
            margin-left: 10px;
            margin-right: 10px;
            img {
                width: 100%;
            }
        }
        .text {
            flex: 1;
            margin-right: 10px;
            .name {
                font-size: 15px;
                font-weight: 900;
            }
            .price {
                display: flex;
                justify-content: space-between;
                margin: 20px 0;
                span {
                    color: red;
                }
                button {
                    border-radius: 25px;
                    width: 80px;
                    height: 25px;
                    background-color: white;
                }
            }
        }
    }
}